package main

import (
	"github.com/gin-gonic/gin"
	"zg6/o2-o-takeaway-backend-system/api/router"
	"zg6/o2-o-takeaway-backend-system/common/inits"
)

func main() {
	inits.InitViper()
	inits.InitNacos()
	inits.InitMysql()
	inits.ExampleClient()
	r := gin.Default()

	router.LoadRouter(r)
	r.Run()
}
